package com.sy.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@ApiModel(description = "课程实体")
@Data
public class Course implements Serializable {
  //课程id
  @TableId(type = IdType.AUTO)
  private Integer cid;
  //课程名称
  @ApiModelProperty("课程名称")
  private String courseName;
  //课程介绍
  @ApiModelProperty("课程介绍")
  private String descs;
  //课程类型
  @ApiModelProperty("课程类型")
  private Integer courseType;
  //课程封面
  @ApiModelProperty("课程封面")
  private String courseImage;
  //课程视频封面
  @ApiModelProperty("课程视频封面")
  private String courseVideo;
  //课程价格
  @ApiModelProperty("课程价格")
  private double coursePrice;
  //课程状态 0：未上架 1：上架  2：下架
  @ApiModelProperty("程状态 0：未上架 1：上架  2：下架")
  private Integer status;
  @ApiModelProperty("创建时间")
  private LocalDateTime createTime;

}
